# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: gothmog.todi <t.haider@vcnc.org>

pkgname=corkscrew
pkgver=2.0
pkgrel=8
pkgdesc="A tool for tunneling SSH through HTTP proxies"
arch=('loong64' 'x86_64')
url="https://github.com/patpadgett/corkscrew"
license=('GPL')
changelog=$pkgname.changelog
source=($pkgname-$pkgver.tar.gz::https://github.com/patpadgett/$pkgname/archive/v$pkgver.tar.gz)
sha256sums=('879344d6ba456635525c05982e1590bd5344224c15c413180d371f5e65d43343')

build() {
  cd "${srcdir}"/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver

  make DESTDIR="${pkgdir}" install
}
